﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Buyer/BuyerMasterPage.master" AutoEventWireup="true" CodeFile="AddPaymentMethod.aspx.cs" Inherits="AddPaymentMethod" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <!-- left col open -->
      <div class="leftcol">
        <!-- page title section open -->

        <div class="pagetitle_bg">
          <div class="pagetitle_wrap">
            <h1 class="maintitle">Add New Payment Method</h1>
          </div>
        </div>
        <!-- page title section close -->
        <!-- main box open -->
        <div class="mainbox_wrap">

          <div class="mainbox_top"></div>
          <div class="mainbox_cont">
          
             <div class="data_row">
                <div class="data_row_lft">Select Payment Method</div>
                <div class="data_row_rgt">
                    <asp:RadioButtonList ID="rblistpaymenttype" runat="server" Height="16px" 
                        RepeatDirection="Horizontal" Width="351px" AutoPostBack="True" 
                        onselectedindexchanged="rblistpaymenttype_SelectedIndexChanged">
                        <asp:ListItem Value="PayPal"> PayPal</asp:ListItem>
                        <asp:ListItem Value="Dwolla"> Dwolla</asp:ListItem>
                    </asp:RadioButtonList>
                    
                </div>
                
              </div>
              
              
              <%--<asp:Panel ID="pnlcreditcardinfo" runat="server" Visible="false">
              <div class="data_tbl_creditcard" >
              <div class="data_row">
                <div class="data_row_lft">Financial Account</div>
                <div class="data_row_rgt_txt">
                    <asp:TextBox ID="txtfinancialaccount" runat="server" ReadOnly="true"></asp:TextBox>
                    
                </div>
              </div>
              <div class="data_row">
                <div class="data_row_lft">Card Type</div>
                <div class="data_row_rgt">
                    <telerik:RadComboBox ID="rcbcardtype" runat="server" 
                        RadComboBoxImagePosition="Left" Width="125px" Text="Select.">
                        <Items>
                            <telerik:RadComboBoxItem runat="server" Text="Select." Value="Select." />
                            <telerik:RadComboBoxItem runat="server" Text="Visa" Value="Visa" />
                            <telerik:RadComboBoxItem runat="server" Text="Master Card" Value="Master Card" />
                            <telerik:RadComboBoxItem runat="server" Text="American Express" Value="American Express" />
                            <telerik:RadComboBoxItem runat="server" Text="Discover" Value="Discover" />
                        </Items>
                    </telerik:RadComboBox>
                    <br /><asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ErrorMessage="* Required Card Type" CssClass="showerror" Operator="NotEqual" 
                        ValidationGroup="All" ValueToCompare="Select." 
                        ControlToValidate="rcbcardtype" Display="Dynamic"></asp:CompareValidator>
                </div>
              </div>
              <div class="data_row">
                <div class="data_row_lft">Card Number</div>
                <div class="data_row_rgt_txt">
                  <asp:TextBox ID="txtcardnumber" runat="server" MaxLength="16"></asp:TextBox>
                    <br/><asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtcardnumber" Display="Dynamic" CssClass="showerror" ValidationGroup="All" runat="server" ErrorMessage="* Required Card Number"></asp:RequiredFieldValidator>
                </div>
              </div>
              <div class="data_row">
                <div class="data_row_lft">Name on Card</div>
                <div class="data_row_rgt_txt">
                  <asp:TextBox ID="txtcardholdername" runat="server"></asp:TextBox>
                  <br/><asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtcardholdername" Display="Dynamic" CssClass="showerror" ValidationGroup="All" runat="server" ErrorMessage="* Required Name on Card"></asp:RequiredFieldValidator>
                </div>
              </div>
              <div class="data_row">
                <div class="data_row_lft">Expiration Date</div>
                <div class="data_row_rgt">
                    <telerik:RadComboBox ID="rcbexpirymonth" runat="server" 
                        RadComboBoxImagePosition="Left" Width="125px" Text="Select.">
                        <Items>
                            <telerik:RadComboBoxItem runat="server" Text="Select." Value="Select." />
                            <telerik:RadComboBoxItem runat="server" Text="January" Value="January" />
                            <telerik:RadComboBoxItem runat="server" Text="February" Value="February" />
                            <telerik:RadComboBoxItem runat="server" Text="March" Value="March" />
                            <telerik:RadComboBoxItem runat="server" Text="April" Value="April" />
                            <telerik:RadComboBoxItem runat="server" Text="May" Value="May" />
                            <telerik:RadComboBoxItem runat="server" Text="June" Value="June" />
                            <telerik:RadComboBoxItem runat="server" Text="July" Value="July" />
                            <telerik:RadComboBoxItem runat="server" Text="August" Value="August" />
                            <telerik:RadComboBoxItem runat="server" Text="September" Value="September" />
                            <telerik:RadComboBoxItem runat="server" Text="October" Value="October" />
                            <telerik:RadComboBoxItem runat="server" Text="November" Value="November" />
                            <telerik:RadComboBoxItem runat="server" Text="December" Value="December" />
                        </Items>
                    </telerik:RadComboBox>
                    <telerik:RadComboBox ID="rcbexpiryyear" runat="server" 
                        RadComboBoxImagePosition="Left" Text="Select." Width="75px">
                        <Items>
                            <telerik:RadComboBoxItem runat="server" Text="Select." Value="Select." />
                            <telerik:RadComboBoxItem runat="server" Text="2011" Value="2011" />
                            <telerik:RadComboBoxItem runat="server" Text="2012" Value="2012" />
                            <telerik:RadComboBoxItem runat="server" Text="2013" Value="2013" />
                            <telerik:RadComboBoxItem runat="server" Text="2014" Value="2014" />
                            <telerik:RadComboBoxItem runat="server" Text="2015" Value="2015" />
                            <telerik:RadComboBoxItem runat="server" Text="2016" Value="2016" />
                            <telerik:RadComboBoxItem runat="server" Text="2017" Value="2017" />
                            <telerik:RadComboBoxItem runat="server" Text="2018" Value="2018" />
                            <telerik:RadComboBoxItem runat="server" Text="2019" Value="2019" />
                            <telerik:RadComboBoxItem runat="server" Text="2020" Value="2020" />
                            <telerik:RadComboBoxItem runat="server" Text="2021" Value="2021" />
                            <telerik:RadComboBoxItem runat="server" Text="2022" Value="2022" />
                            <telerik:RadComboBoxItem runat="server" Text="2023" Value="2023" />
                            <telerik:RadComboBoxItem runat="server" Text="2024" Value="2024" />
                            <telerik:RadComboBoxItem runat="server" Text="2025" Value="2025" />
                        </Items>
                    </telerik:RadComboBox>
                    <br /><asp:CompareValidator ID="CompareValidator2" runat="server" 
                        ErrorMessage="* Required Expiration Month" CssClass="showerror" Operator="NotEqual" 
                        ValidationGroup="All" ValueToCompare="Select." 
                        ControlToValidate="rcbexpirymonth" Display="Dynamic"></asp:CompareValidator>
                        <asp:CompareValidator ID="CompareValidator3" runat="server" 
                        ErrorMessage="* Required Expiration Year" CssClass="showerror" Operator="NotEqual" 
                        ValidationGroup="All" ValueToCompare="Select." 
                        ControlToValidate="rcbexpiryyear" Display="Dynamic"></asp:CompareValidator>
                </div>
              </div>
              <div class="data_row">
                <div class="data_row_lft">CVV Number</div>
                <div class="data_row_rgt_txt">
                  <asp:TextBox ID="txtcvvnumber" runat="server" MaxLength="3"></asp:TextBox>
                  <br/><asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="txtcvvnumber" Display="Dynamic" CssClass="showerror" ValidationGroup="All" runat="server" ErrorMessage="* Required CVV Number"></asp:RequiredFieldValidator>
                </div>
              </div>
              
              
              <div class="data_row">
                <div class="data_row_lft"></div>
                <div class="data_row_rgt">
                    <asp:Label ID="lblerror" CssClass="showerror" runat="server" Text="" Visible="false"></asp:Label>
                </div>
              </div>


              <!-- show hide content open -->
              <div >
                <div class="divider"></div>

                <div class="data_row">
                  <div class="data_row_lft"></div>
                  <div class="data_row_rgt_check">
                      <asp:ImageButton ID="bttnaddcredit" runat="server" class="addcredit" src="../images/trans.gif"
                          onclick="bttnaddcredit_Click" ValidationGroup="All" />
                      <asp:ImageButton ID="bttncancel" runat="server" class="cancel" src="../images/trans.gif"
                          onclick="bttncancel_Click" />
                  </div>
                </div>
              </div>
              <!-- show hide content close -->

            </div>

              </asp:Panel>--%>
              
              
              
              
              <asp:Panel ID="pnlpaypal" runat="server" Visible="false">
              <div class="" >
              <div class="data_row">
                <div class="data_row_lft">Enter PayPal Email-ID: </div>
                <div class="data_row_rgt_txt">
                    <asp:TextBox ID="txtpaypalemailid" runat="server" ReadOnly="true"></asp:TextBox>
                    
                </div>
              </div>
              
              <!-- show hide content open -->
              <div >
                <div class="divider"></div>

                <div class="data_row">
                  <div class="data_row_lft"></div>
                  <div class="data_row_rgt_check">
                      <asp:ImageButton ID="bttnsubmitpaypal" runat="server" class="submit" src="../images/trans.gif"
                          ValidationGroup="All" />
                      <asp:ImageButton ID="bttncancel" runat="server" class="cancel" src="../images/trans.gif"
                          />
                  </div>
                </div>
              </div>
              <!-- show hide content close -->

            </div>

              </asp:Panel>
              
              
              <asp:Panel ID="pnlDwolla" runat="server" Visible="false">
              <div class="" >
              <div class="data_row">
                <div class="data_row_lft">Enter Dwolla ID: </div>
                <div class="data_row_rgt_txt">
                    <asp:TextBox ID="txtdwollaid" runat="server" ReadOnly="true"></asp:TextBox>
                    
                </div>
              </div>
              
              <!-- show hide content open -->
              <div >
                <div class="divider"></div>

                <div class="data_row">
                  <div class="data_row_lft"></div>
                  <div class="data_row_rgt_check">
                      <asp:ImageButton ID="bttnsubmitdwolla" runat="server" class="submit" src="../images/trans.gif"
                          ValidationGroup="All" />
                      <asp:ImageButton ID="bttndwollacancel" runat="server" class="cancel" src="../images/trans.gif"
                          />
                  </div>
                </div>
              </div>
              <!-- show hide content close -->

            </div>

              </asp:Panel>
              
          </div>
          <div class="mainbox_bttm"></div>
        </div>
        <!-- main box close -->

      </div>
      <!-- left col close -->

</asp:Content>

